import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 自定义全局插件
import plus from '@/utils/plus'
Vue.use(plus);

// mock数据
if(process.env.NODE_ENV === 'development') require('@/mock')

import '@/config/permission'; // 全局 router拦截

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
